home *** CD-ROM | disk | FTP | other *** search
/ Inter.Net 55-1 / Inter.Net 55-1.iso / CBuilder / Setup / BCB / data.z / smpms.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-02-09  |  1.9 KB  |  60 lines

  1. /*
  2.  *  S M P M S . H
  3.  *
  4.  *  Definitions used by the Microsoft Sample Message Store Provider
  5.  *  for service entry calls.
  6.  *
  7.  *  The following MAPI-defined properties are settable in service
  8.  *  entry calls for the Sample Message Store Provider.
  9.  *
  10.  *  Copyright 1993-1995 Microsoft Corporation. All Rights Reserved.
  11.  */
  12.  
  13. #ifndef _SMPMS_H_
  14. #define _SMPMS_H_
  15. #pragma option push -b
  16.  
  17.  
  18. #define SMS_EXTERN_PROPID_BASE  0x6700      /* From MAPITAGS.H comments */
  19.  
  20. #define PR_SMS_PATH         PROP_TAG(PT_STRING8, SMS_EXTERN_PROPID_BASE + 0)
  21. #define PR_SMS_PASSWORD     PROP_TAG(PT_STRING8, SMS_EXTERN_PROPID_BASE + 1)
  22. #define PR_SMS_REMEMBER_PW  PROP_TAG(PT_BOOLEAN, SMS_EXTERN_PROPID_BASE + 2)
  23. #define PR_SMS_CREATE       PROP_TAG(PT_BOOLEAN, SMS_EXTERN_PROPID_BASE + 3)
  24.  
  25.  
  26. /* 
  27.  *  The following is a description of each of the Sample Message Store
  28.  *  Provider properties:
  29.  *
  30.  *  PR_SMS_PATH
  31.  *      The full pathname to the root directory of the sample message store.
  32.  *
  33.  *  PR_SMS_PASSWORD
  34.  *      The password needed to open the store (if already present), or the
  35.  *      new password (if creating the store).
  36.  *
  37.  *  PR_SMS_REMEMBER_PW
  38.  *      If non-zero (TRUE), this property asks the service entry to save the
  39.  *      password in the profile, and to not prompt for it.
  40.  *
  41.  *  PR_SMS_CREATE
  42.  *      If non-zero (TRUE), this property asks the service entry to create the
  43.  *      sample store. Otherwise, the service entry will attempt to open an
  44.  *      existing store.
  45.  */
  46.  
  47. /*
  48.  *  PR_MDB_PROVIDER is the GUID that represent the Sample Message Store
  49.  *  Provider.  This guid is available as a property in the stores
  50.  *  table and on the message store object.
  51.  */
  52. #define SMPMS_UID_PROVIDER      \
  53.     {   0x38, 0x5d, 0x47, 0x5f, \
  54.         0xec, 0xf1, 0xcd, 0x11, \
  55.         0x93, 0xdc, 0x5a, 0xab, \
  56.         0x3C, 0x47, 0x84, 0x37 }
  57.  
  58. #pragma option pop
  59. #endif  /* _SMPMS_H_ */
  60.